package com.xinzhidi.web.netty.entity.householdValve;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.context.annotation.Description;

/***
 * 户用阀门协议 读阀门信息 数据域（数据）里的字段
 *
 * @author cx
 * @date 2023/6/2 10:09
 */
@ApiModel(value = "户用阀门-读阀门信息（工作模式等）")
@Description(value = "读取单阀门工作模式、当前开度、给定开度、掉电开度、累计工作时间、最近一次掉电时间、最近一次上电时间、信号质量、阀门状态、近端温度测量值、远端温度测量值")
@Data
@EqualsAndHashCode(callSuper = false)
public class ValveInformationRead {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "阀门工作模式")
    private String MD;

    @ApiModelProperty(value = "当前开度")
    private String currentOpen;

    @ApiModelProperty(value = "给定开度")
    private String setOpen;

    @ApiModelProperty(value = "断电开度")
    private String breakOpen;

    @ApiModelProperty(value = "累计工作时间，单位（秒）")
    private String totalWorkTime;

    @ApiModelProperty(value = "断电计数")
    private String powerOffCount;

    @ApiModelProperty(value = "最近一次断电时间")
    private String lastTimeLostPower;

    @ApiModelProperty(value = "最近一次上电时间")
    private String lastTimePowerOn;

    @ApiModelProperty(value = "信号质量")
    private String signalQuality;

    @ApiModelProperty(value = "阀门状态")
    private String valveCondition;

    @ApiModelProperty(value = "近端温度（回水温度）")
    private String nearTemperature;

    @ApiModelProperty(value = "远端温度（供水温度）")
    private String farTemperature;


}
